import Cookies from 'js-cookie'
const token_key="admin_token";
export const get_token=()=>{
    return Cookies.get(token_key);
}

export const set_token=(token:string)=>{
    return Cookies.set(token_key,token);
}

export const remove_token=()=>{
    Cookies.remove(token_key);
}